package com.zkingsoft.dao;

import org.apache.ibatis.annotations.Param;
import java.util.List;
import java.util.Map;
import com.matrix.core.pojo.PaginationVO;
import com.zkingsoft.bean.BizUserMaterial;

/**
 * @description (用户素材)
 * @author 姜友瑶
 * @date 2018-07-18 07:20
 */
public interface BizUserMaterialDao{

	public int insert(@Param("item") BizUserMaterial bizUserMaterial);
   	
   	public int batchInsert(@Param("list") List<BizUserMaterial> bizUserMaterialList);
   	
	public int updateByMap(Map<String, Object> modifyMap);
	
	public int updateByModel(@Param("record")BizUserMaterial bizUserMaterial);
	
	public int deleteByIds(@Param("list") List<String> list);
	
	public int deleteById(String id);

	public int deleteByModel(@Param("record") BizUserMaterial bizUserMaterial);
	
	public List<BizUserMaterial> selectInPage(@Param("record") BizUserMaterial bizUserMaterial, @Param("pageVo") PaginationVO pageVo);

	public List<BizUserMaterial> selectByModel(@Param("record") BizUserMaterial bizUserMaterial);
	
	public int selectTotalRecord(@Param("record") BizUserMaterial bizUserMaterial);
	
	public BizUserMaterial  selectById(String id);
	
	public BizUserMaterial  selectForUpdate(String id);

	public List<BizUserMaterial> selectInPageFront(@Param("record") BizUserMaterial bizUserMaterial);
	
}